package oberver.example;

/**
 * @Author：LJ
 * @Description：
 * @Date: 2017/11/28
 * @Modified By:
 */
public class LiuSi implements Observer {
    @Override
    public void update(String context) {
        System.out.println("刘斯:观察韩非子的活动,开始向老板汇报了...");
        this.reportQiShiHuang(context);
        System.out.println("刘斯:汇报完毕...");
    }

    private void reportQiShiHuang(String context) {
        System.out.println("刘斯:报告,老板!韩非子有活动了--->" + context);
    }
}
